package com.dc.project.model;

import java.io.Serializable;

public class WechatUser implements Serializable {
	/**
	 *
	 */
	private int wechat_user_id;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * This method returns the value of the database column
	 * t_wechat_user.wechat_user_id
	 *
	 * @return the value of t_wechat_user.wechat_user_id
	 */
	public int getWechat_user_id() {
		return wechat_user_id;
	}

	/**
	 */
	public WechatUser withWechat_user_id(int wechat_user_id) {
		this.setWechat_user_id(wechat_user_id);
		return this;
	}

	/**
	 * This method sets the value of the database column
	 * t_wechat_user.wechat_user_id
	 *
	 * @param wechat_user_id
	 *            the value for t_wechat_user.wechat_user_id
	 */
	public void setWechat_user_id(int wechat_user_id) {
		this.wechat_user_id = wechat_user_id;
	}

	/**
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", wechat_user_id=").append(wechat_user_id);
		sb.append("]");
		return sb.toString();
	}

}